package com.xhh.reapply.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xhh.model.common.dtos.ResponseResult;
import com.xhh.model.reapply.dtos.AddChoiceDto;
import com.xhh.model.reapply.dtos.UpdateChoiceDto;
import com.xhh.model.reapply.pojos.Reapply;

public interface ReapplyService extends IService<Reapply> {

    /**
     * 添加调剂志愿
     * @param dto
     * @return
     */
    ResponseResult addChoice(AddChoiceDto dto);

    /**
     * 修改志愿
     * @param dto
     * @return
     */
    ResponseResult updateChoice(UpdateChoiceDto dto);

    /**
     * 学生用户查看调剂志愿
     * @param stuId
     * @return
     */
    ResponseResult getChoice(Long stuId);
}
